package com.mvp.shq.washer.utils;

/**
 * Created by shq1 on 2017/9/19.
 */

public class DataDictionary {

    /**
     * 洗衣机订单状态
     */
    //异常
    public static final String WASHER_ORDER_STATUS_ERROR = "0";
    //未支付
    public static final String WASHER_ORDER_STATUS_NOT_PAY = "1";
    //进行中
    public static final String WASHER_ORDER_STATUS_ING = "2";
    //已完成
    public static final String WASHER_ORDER_STATUS_FINISH = "3";
    /**
     * 洗衣机订单支付状态
     */
    //未支付
    public static final String WASHER_ORDER_PAY_STATUS_NOT_PAY = "0";
    //已支付
    public static final String WASHER_ORDER_PAY_STATUS_PAY = "1";
    //异常
    public static final String WASHER_ORDER_PAY_STATUS_ERROR = "-1";
    //退款中
    public static final String WASHER_ORDER_PAY_STATUS_REFUND_ING = "2";
    //已退款
    public static final String WASHER_ORDER_PAY_STATUS_REFUND = "3";

    //商城图片前缀
    public static final String SHOP_IMG_BASE_URL = "http://web.uzhixi.com:81";
    public static final String WASHER_IMG_BASE_URL = "http://web.uzhixi.com";
    //收货地址修改或者新增
    public static final int ADDRESS_ADD = 0;//新增
    public static final int ADDRESS_UPDATE = 1;//修改
    //payMode
    public static final String PAY_MODE_INTEGRAL = "0";
    public static final String PAY_MODE_CASH = "1";
    public static final String PAY_MODE_CASH_AND_INTEGRAL = "2";

    //shop_payType 商城支付方式
    public static final String SHOP_PAY_WX = "0";
    public static final String SHOP_PAY_ALIPAY = "1";
    public static final String SHOP_PAY_BALANCE = "2";
    public static final String SHOP_PAY_INTEGRAY = "3";

    //商品排序
    //是否使用积分
    public static final String SHOP_USE_INTEGORY_TRUE = "1";//是
    public static final String SHOP_USE_INTEGORY_FALSE = "0";//否
    //排序方式
    public static final String SHOP_SORT_ALL = "ALL";
    public static final String SHOP_SORT_INTEGORY = "0";//积分
    public static final String SHOP_SORT_CASH = "1";//价格
    public static final String SHOP_SORT_VOLUME_NUM= "2";//销量
    public static final String SHOP_SORT_SCREEN= "3";//筛选
    //升降序
    public static final String ORDER_DESC = "desc";//降序
    public static final String ORDER_ASC = "asc";//升序


    //消息推送 msg
    public static final String JPUSH_MSG = "0";
    //优惠券 coupon
    public static final String JPUSH_COUPON = "1";
    //剩余时间
    public static final String JPUSH_REST = "2";
    //洗衣机开始运作
    public static final String JPUSH_START = "3";
    //洗衣机结束运作
    public static final String JPUSH_FINISH = "4";
    //脱水开盖
    public static final String JPUSH_OPEN_CAP = "5";
    //洗衣机发送异常
    public static final String JPUSH_ERROR = "6";
    //通知
    public static final String JPUSH_NOTIFY = "7";
    //洗衣机上下线状态
    public static final String WASHER_ONLINE = "1";//在线
    public static final String WASHER_OUTLINE = "0";//离线

    //订单状态
    public static final String ORDERNOPAY="0";//待付款
    public static final String ORDERTAKE = "1";//待收货
    public static final String ORDEREVALUATE="2";//待评价
    public static final String ORDERNCOMPLETED="3";//完成
    public static final String ORDERTIMEOUT = "4";//超时
    public static final String ORDEREWAITREFUND="5";//退款中
    public static final String ORDEREREFUNDED="6";//已退款
    public static final String ORDEREAll="7";//全部
    public static final String[] ORDERSTATUETAB = {"全部", "待付款", "待收货", "待评价"};
    public static final String[] ORDERSTATUELIST={"",ORDERNOPAY,ORDERTAKE,ORDEREVALUATE};
}
